package com.zszq.ms.bigmodeltest.service;

import com.zszq.ms.bigmodeltest.domain.response.Result;
import com.zszq.ms.bigmodeltest.entity.AiFile;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

/**
 *  文件服务类
 *
 * @author ms
 * @since 2025-04-02
 */
public interface AiFileService extends IService<AiFile> {
    /**
     * 文件上传到oss
     *
     * @param file .
     * @return 上传后返回的文件路径
     */
    Result upload(MultipartFile file);
}
